package com.dwb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;

/**
 * @author manke
 * @date 2020-06-26 12:36:37
 * @email 
 */
@Data
@ApiModel("商品相册图片")
public class SGoodsPhoto {

    @ApiModelProperty(value = "自增id")
    @Id
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @ApiModelProperty(value = "图片")
    private String images;

    @ApiModelProperty(value = "是否显示（0否,1是）")
    private Byte isShow;

    @ApiModelProperty(value = "顺序")
    private Byte sort;

    @ApiModelProperty(value = "添加时间")
    private Integer addTime;

}